﻿using NUnit.Framework;

namespace SpellChecker.Tests
{
  [TestFixture]
  public class TestSpellCheckerNotContainingAnyWords
  {
    [Test]
    public void EmptyString()
    {
      var result = SpellChecker.HasSpellingErrors("");
      Assert.That(result, Is.EqualTo(false));
    }

    [Test]
    public void OnePunctationMark()
    {
      var result = SpellChecker.HasSpellingErrors(".");
      Assert.That(result, Is.EqualTo(false));
    }

    [Test]
    public void AllPunctationMarks()
    {
      var result = SpellChecker.HasSpellingErrors(".,;!?:'");
      Assert.That(result, Is.EqualTo(false));
    }

  }
}
